site.canRefresh()

Availability 3.0
Description Checks whether Dreamweaver can perform a Refresh [Local | Remote] operation.
Arguments localOrRemote
The argument must be either "local" or "remote".
Returns TRUE if localOrRemote is "local"; otherwise, a Boolean value indicating whether a remote site has been defined.